package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.StudyClass;
import com.zhijian.medical.entity.vo.request.StudyClassSearchVo;
import com.zhijian.medical.entity.vo.response.StudyClassVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudyClassMapper {
    int deleteByPrimaryKey(Long id);

    int insert(StudyClass record);

    int insertSelective(StudyClass record);

    StudyClass selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(StudyClass record);

    int updateByPrimaryKey(StudyClass record);

    int count(StudyClassSearchVo studyClassSearchVo);

    List<StudyClassVo> selectList(StudyClassSearchVo studyClassSearchVo);

    StudyClassVo selectVoById(Long id);

    int insertBatch(@Param("entities") List<StudyClass> entities);
}